package edu.guet.server.mapper;

import edu.guet.server.model.vo.ExcellentCourseVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ExcellentCourseMapper {
    List<ExcellentCourseVO> findCourseOrderByTime(int need_count);

    List<ExcellentCourseVO> findCourseInfo(Integer course_id);

    @Select("select * from semester where semester_id = #{id}")
    Long checkId(int id);
}
